package com.hoapital.outpbillwork.module.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hoapital.outpbillwork.module.entity.DrugPrescMaster;
import com.hospital.common.core.module.controller.vo.Receive;
import com.hospital.common.core.result.Tip;

import java.text.ParseException;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lvyao
 * @since 2021-03-31
 */
public interface DrugPrescMasterService extends IService<DrugPrescMaster> {

    boolean updateChargeFlag(String visitDate, String visitNo);

    int updatePrescStatus(String visitDate, String visitNo, String enterBy, String billDateTime, String prescStatus);

    DrugPrescMaster getDrugPrescmaster(String visitDate, String visitNo);

    boolean savePrescBill(Receive receive) throws ParseException;

    boolean commBill(Receive receive, String patientId, String visitId, String orderedBy) throws ParseException;

    Tip prescCkeck(String[] prescAttrNo);
}
